﻿using System.Collections.Generic;
using Shell.DomainDot;
using Framework.Poco;

namespace Framework.Domain
{
    /// <summary>
    /// 城区的上下文
    /// </summary>
    public class DistrictContext : DomainDotBase<District>
    {
        public WithMany<Agency> Agencies { private get; set; }

        public IEnumerable<Agency> GetAll()
        {
            return this.Agencies;
        }
    }
}
